package com.service;

import com.curve.UserCurve;
import com.lordor.security.Account;
import com.lordor.framework.query.QueryResult;
import com.lordor.framework.query.PageViewer;

import java.util.Date;
import java.util.List;

/**
 * User: lyj
 * Date: 2011-11-30
 * Time: 14:48:07
 */
public interface ICurveService {
    public final static  String NAME = "curveService";
    public  UserCurve createUserCurve(Account user,String title);
    public UserCurve findUserCurveById(String sysid);
    public void addCurvePoint(String curveId, Date pointDate);
    public void removeCurvePoint(String curveId,String pointId);
    public void deleteUserCurve(String curveId);
    public QueryResult queryMyCurves(Account user, PageViewer pv);
    public List findMyCurvePoints(Account user,String id);

}
